package com.feifan.api.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @program: FinalProject
 * @author: Xiaofan
 * @createTime: 2021-08-03 09:32
 * @description: Functions of this class is
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UmsAdminLoginParam implements Serializable {

    @NotEmpty(message = "密码不能为空！")
    private String username;

    @NotEmpty(message = "用户名不能为空！")
    private String password;

}